import type { IPageParams } from '@/types/table'
import request from '@/api/request'

export function getLogs(params: IPageParams) {
  return request({
    url: '/sys/log/list',
    method: 'get',
    params,
    loading: true
  })
}